import request from '#/utils/requestAbort';

export async function getContractList(params) {
  return request('/reanalyze/MedLongTermSettlementAnalyse/getContractList', {
    method: 'POST',
    data: params,
  });
}

export async function getSettlementAnalyse(params) {
  return request('/reanalyze/MedLongTermSettlementAnalyse/getSettlementAnalyse', {
    method: 'POST',
    data: params,
  });
}

export async function getGraphicsAnalyse(params) {
  return request('/reanalyze/MedLongTermSettlementAnalyse/getGraphicsAnalyse', {
    method: 'POST',
    data: params,
  });
}

// 省份-交易中心-场站（数据权限）
export async function queryMarketList(menuCode) {
  return request(`/power/dataPower/common/${menuCode}/t_station`, {
    method: 'GET',
  });
}
